type IFormType = "input"| "textarea"  | "password" | "select" | "datepicker" | "slot"| "checkboxGroup" |'year' |'date' |'number'|"inputTwo"|"yearTwo"


type IOptions = {
  label: string
  value: string
}

export interface IFormItem {
  field?: string
  label: string
  labelWidth?: string
  rules?: any[]
  placeholder: any
  type: IFormType | 'textarea'
  options?: IOptions[]
  otherOptions?: any,
  lg?: any,
  md?: any,
  rows?:any
  width?:any
}

export interface IForm {
  formItems: IFormItem[]
  labelWidth?: string
  colLayout?: any
  itemStyle?: any
  positions?: any
}
